//
//  BigTableView.h
//  bigtableview
//
//  Created by GripMeMory on 16/1/7.
//  Copyright © 2016年 GripMeMory. All rights reserved.
//

#import <UIKit/UIKit.h>

@class BigTableView;

@protocol BigViewCellDelegate <NSObject>

@required

- (UITableViewCell *)BigTableView:(BigTableView *)bigTableView cellForRightCell:(UIView *)rightCell;

@end

@interface BigTableView : UIView

@property (nonatomic, retain) id <BigViewCellDelegate> delegate;

//行标题控制个数
@property (nonatomic, assign) int rowHeadingCount;
//表头个数
@property (nonatomic, assign) int columnCount;
//行高
@property (nonatomic, assign) float rowHeight;
//列宽
@property (nonatomic, assign) float columnWidth;
//表头数据源
@property (nonatomic, copy) NSArray *headerTiltes;

@property (nonatomic, strong) UITableView *leftTableView;
@property (nonatomic, strong) UITableView *rightTableView;

- (instancetype)initWithFrame:(CGRect)frame HeaderTitles:(NSArray *)headerTitles ColumnCount:(int)columnCount RowHeadingCount:(int)rowHeadingCount ColumnWidth:(float)columnWidth RowHeight:(CGFloat)rowHeight;

@end


